from zope.interface import Interface
# -*- Additional Imports Here -*-
from zope import schema

from my315ok.fangcan import fangcanMessageFactory as _


class Isubdistrict(Interface):
    """subdistrict"""

    # -*- schema definition goes here -*-
    longitude = schema.Float(
        title=_(u"longitude"),
        required=False,
        description=_(u"Field description"),
    )
#
    latitude = schema.Float(
        title=_(u"latitude"),
        required=False,
        description=_(u"Field description"),
    )
#
#    image = schema.Bytes(
#        title=_(u"subdistrict image"),
#        required=False,
#        description=_(u"Field description"),
#    )
#
#    average_price = schema.TextLine(
#        title=_(u"secondhand house average price"),
#        required=False,
#        description=_(u"Field description"),
#    )
##
#    rent_amount = schema.TextLine(
#        title=_(u"rent house amount"),
#        required=False,
#        description=_(u"Field description"),
#    )
##
#    secondhand_amount = schema.TextLine(
#        title=_(u"secondhand house amount"),
#        required=False,
#        description=_(u"Field description"),
#    )
#
    Area = schema.TextLine(
        title=_(u"area name"),
        required=True,
        description=_(u"Field description"),
    )
#
    bigarea = schema.TextLine(
        title=_(u"big area"),
        required=False,
        description=_(u"Field description"),
    )
#
    address = schema.TextLine(
        title=_(u"address"),
        required=False,
        description=_(u"Field description"),
    )
#
    estate_type = schema.TextLine(
        title=_(u"estate type"),
        required=False,
        description=_(u"Field description"),
    )
#
    school = schema.TextLine(
        title=_(u"school"),
        required=False,
        description=_(u"Field description"),
    )
#
    middle_school = schema.TextLine(
        title=_(u"middle school"),
        required=False,
        description=_(u"Field description"),
    )
#
    traffic = schema.TextLine(
        title=_(u"traffic"),
        required=False,
        description=_(u"Field description"),
    )
#
    landscape = schema.TextLine(
        title=_(u"landscape"),
        required=False,
        description=_(u"Field description"),
    )
#
    shopping = schema.TextLine(
        title=_(u"shopping"),
        required=False,
        description=_(u"Field description"),
    )
#
    dining = schema.TextLine(
        title=_(u"dining"),
        required=False,
        description=_(u"Field description"),
    )
#
    hospital = schema.TextLine(
        title=_(u"hospital"),
        required=False,
        description=_(u"Field description"),
    )
#
    subdistrict_support = schema.TextLine(
        title=_(u"subdistrict support"),
        required=False,
        description=_(u"Field description"),
    )
#
    greening_ratio = schema.Float(
        title=_(u"greening ratio"),
        required=False,
        description=_(u"Field description"),
    )
#
    capacity_ratio = schema.Float(
        title=_(u"capacity ratio"),
        required=False,
        description=_(u"Field description"),
    )
#
    household_total = schema.Int(
        title=_(u"household total"),
        required=False,
        description=_(u"Field description"),
    )
#
    parking_space = schema.Int(
        title=_(u"parking space"),
        required=False,
        description=_(u"Field description"),
    )
#
    building_area = schema.Float(
        title=_(u"building area"),
        required=False,
        description=_(u"Field description"),
    )
#
    floor_space = schema.Float(
        title=_(u"floor space"),
        required=False,
        description=_(u"Field description"),
    )
#
    estate_business = schema.TextLine(
        title=_(u"estate business"),
        required=False,
        description=_(u"Field description"),
    )
#
    estate_management = schema.TextLine(
        title=_(u"estate management company"),
        required=False,
        description=_(u"Field description"),
    )
#
    estate_fee = schema.Float(
        title=_(u"estate fee"),
        required=False,
        description=_(u"Field description"),
    )
#
    building_date = schema.Date(
        title=_(u"building date"),
        required=False,
        description=_(u"Field description"),
    )
#
